* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins',sans-serif;
    background: #eef2f7;
    min-height: 100vh;
    overflow-x: hidden;
}

.login-wrapper {
    max-width: 80%;
    margin: 20px auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
}

.login-card {
    width: 100%;
    max-width: 1320px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* LEFT PANEL */
.left-panel {
    min-height: 720px;
    background: linear-gradient( 135deg, #07214a, #0b2d5c );
    color: #fff;
    padding: 60px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* LOGO */
.logo-box { 
    margin-bottom:45px; 
}

.logo-main {
    font-size: 50px;
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    font-family: Georgia, serif;
}

.logo-main span {
    color: #d4af37;
}

.logo-subtitle {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 5px;
    color: #ffffff;
    font-weight: 500;
}

.logo-subtitle span {
    width: 45px;
    height: 2px;
    background: #d4af37;
    border-radius: 20px;
}

/* LEFT CONTENT */
.welcome-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
}

.welcome-desc {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255,255,255,0.78);
    max-width: 460px;
    margin-bottom: 45px;
}
.feature-box {
    display: flex;
    align-items: flex-start;
    margin-bottom: 28px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 16px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4af37;
    font-size: 22px;
    margin-right: 18px;
}

.feature-content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.8;
    color: rgba(255,255,255,0.72);
}

/* RIGHT PANEL */
.right-panel {
    min-height: 720px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 55px;
}

.login-form {
    width: 100%;
    max-width: 450px;
}

/* MOBILE LOGO */
.mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 30px;
}

.mobile-logo-main {
    font-size: 38px;
    font-weight: 700;
    color: #0b2d5c;
    line-height: 1;
    font-family: Georgia, serif;
}

.mobile-logo-main span {
    color: #d4af37;
}

.mobile-logo-subtitle {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 9px;
    letter-spacing: 4px;
    color: #0b2d5c;
    font-weight: 600;
}

.mobile-logo-subtitle span {
    width: 35px;
    height: 2px;
    background: #d4af37;
}

/* AVATAR */
.avatar-box {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #f4f7fb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 34px;
    color: #0b2d5c;
}

/* LOGIN CONTENT */
.login-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #0b2d5c;
    line-height: 1.15;
    margin-bottom: 12px;
}

.login-subtitle {
    text-align: center;
    font-size: 14px;
    color: #7b8794;
    margin-bottom: 38px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #0b2d5c;
    margin-bottom: 10px;
}

.loginErrorDisplayDiv {
    font-size: 15px;
    font-weight: 500;
}

.loginErrorDisplayDiv,
.loginPageError {
    margin-left: 10px;
    display: none;
    font-size: 13px;
}

.input-group-custom {
    position: relative;
    margin-bottom: 7px;
}

.form-control-custom {
    width: 100%;
    height: 56px;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    padding-left: 50px;
    padding-right: 48px;
    font-size: 14px;
    transition: 0.3s;
}

.form-control-custom:focus {
    outline: none;
    border-color: #0b2d5c;
    box-shadow: 0 0 0 4px rgba(11,45,92,0.05);
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #7b8794;
    font-size: 18px;
}

.toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #7b8794;
    font-size: 18px;
    cursor: pointer;
}

.remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.form-check-label {
    font-size: 14px;
    color: #0b2d5c;
}

.forgot-link {
    text-decoration: none;
    color: #2457ff;
    font-size: 14px;
    font-weight: 500;
}

.forgot-link:hover {
    color: #0b2d5c;
}

.btn-login {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: #0b2c4d;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    transition: 0.2s;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    background: #123d6b;
}

.footer-text {
    margin-top: 28px;
    text-align: center;
    font-size: 13px;
    color: #7b8794;
}

.footer-text a {
    text-decoration: none;
    color: #2457ff;
    font-weight: 600;
}

/* FOOTER */
.login-footer {
    margin-top: 18px;
    width: 100%;
    max-width: 1320px;
    padding: 0 10px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.login-footer span {
    color: #0b2d5c;
    font-weight: 600;
}

.toast {
    min-width: 300px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    font-weight: 500;
}

/* MOBILE */
@media( max-width: 991px ) {
    .left-panel {
        display: none;
    }

    .right-panel {
        min-height: auto;
        padding: 45px 25px;
    }

    .mobile-logo {
        display: block;
    }

    .login-title {
        font-size: 32px;
    }

}

@media (max-width: 576px) {

    .login-wrapper {
        max-width: 97%;
        padding:15px;
        margin-top:10px;
    }

    .login-card{
        border-radius:18px;
    }

    .mobile-logo{
        margin-bottom:20px;
    }

    .mobile-logo-main{
        font-size:32px;
        line-height:1;
    }

    .mobile-logo-subtitle{
        margin-top:8px;
        font-size:7px;
        letter-spacing:2px;
        gap:8px;
    }

    .mobile-logo-subtitle span{
        width:25px;
        height:2px;
    }

    .right-panel{
        padding:25px 20px;
    }

    .avatar-box{
        width:70px;
        height:70px;
        font-size:28px;
        margin-bottom:15px;
    }

    .login-title{
        font-size:20px;
        line-height:1.3;
        margin-bottom:8px;
    }

    .login-subtitle{
        font-size:13px;
        margin-bottom:20px;
    }

    .form-label{
        font-size:14px;
        margin-bottom:8px;
    }

    .form-control-custom{
        height:48px;
        font-size:14px;
        padding-left:45px;
        padding-right:45px;
    }

    .input-icon,
    .toggle-password{
        font-size:16px;
    }

    .btn-login{
        height:48px;
        font-size:16px;
    }

    .remember-row{
        margin-bottom:20px;
    }

    .forgot-link,
    .form-check-label{
        font-size:13px;
    }

    .footer-text,
    .login-footer{
        font-size:12px;
    }
}